<!-- 活动发布结果 -->
<template>
	<view class="publishResult">
		<!-- 返回首页 -->
		<view class="home" @click="enterHome">
			<uni-icons type="home" size="48rpx" color="#333"></uni-icons>
			<text class="home-text">返回主页</text>
		</view>
		
		<view class="top">
			<uni-icons type="checkbox-filled" size="128rpx" color="#39B056"></uni-icons>
			<text>活动创建成功</text>
		</view>
		
		<!-- 按钮 -->
		<view class="button">
			<view class="button0 button1" @click="enterCityOrder">查看我的发布</view>
			<view class="button0 button2" @click="enterPubish">继续发布</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			/**
			 * 进入home
			 */
			enterHome(){
				uni.switchTab({
					url: '/pages/homeTab/index'
				});
			},
			
			/**
			 * subsectionCurrent=0进入我发布的，subsectionCurrent=1是我参加的
			 */
			enterCityOrder(){
				uni.redirectTo({
					url: '/pages/order/cityOrder/index?subsectionCurrent=1'
				});
			},
			
			/**
			 * 进入活动发布
			 */
			enterPubish(){
				uni.redirectTo({
					url: '/pages/publishTab/index'
				});
			}
		}
	}
</script>

<style lang="less" scoped>
	.publishResult{
		#padding(100rpx 0 0 0);
		
		.home{
			#flex(-,-,center);
			position: fixed;
			top: 36rpx;
			left: 36rpx;
			
			
			.home-text{
				#font(24rpx,#333);
				margin-left: 12rpx;
			}
		}
		
		.top{
			#flex(column,center,center);
			font-size: 36rpx;
			color: #0f0d21;
		}
		
		.button{
			#flex(-,center,center);
			gap: 24rpx;
			margin-top: 50rpx;
			
			.button0{
				#box(200rpx,80rpx,100rpx,linear-gradient(180deg, #E27C8A 0%, #EC606F 100%));
				#font(24rpx,#fdf3f3,400);
				#flex(-,center,center);
			}
		}
		
	}
</style>
